using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace Pbdms.Common
{
    public class DateTimeComparer : IComparer
    {
        public int Compare(object x, object y)
        {

            DateTime dt1 = DateTime.Parse((string)x.ToString());
            DateTime dt2 = DateTime.Parse((string)y.ToString());
            int com= dt1.CompareTo(dt2);
            return com;
        }
    }

}
